package com.ruoyi.healthCard.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.healthCard.mapper.TBizExamResultMapper;
import com.ruoyi.healthCard.domain.TBizExamResult;
import com.ruoyi.healthCard.service.ITBizExamResultService;

/**
 * 体检结果Service业务层处理
 * 
 * @author ruoyi
 * @date 2025-06-24
 */
@Service
public class TBizExamResultServiceImpl implements ITBizExamResultService 
{
    @Autowired
    private TBizExamResultMapper tBizExamResultMapper;

    /**
     * 查询体检结果
     * 
     * @param resultId 体检结果主键
     * @return 体检结果
     */
    @Override
    public TBizExamResult selectTBizExamResultByResultId(Long resultId)
    {
        return tBizExamResultMapper.selectTBizExamResultByResultId(resultId);
    }

    /**
     * 查询体检结果列表
     * 
     * @param tBizExamResult 体检结果
     * @return 体检结果
     */
    @Override
    public List<TBizExamResult> selectTBizExamResultList(TBizExamResult tBizExamResult)
    {
        return tBizExamResultMapper.selectTBizExamResultList(tBizExamResult);
    }

    /**
     * 新增体检结果
     * 
     * @param tBizExamResult 体检结果
     * @return 结果
     */
    @Override
    public int insertTBizExamResult(TBizExamResult tBizExamResult)
    {
        return tBizExamResultMapper.insertTBizExamResult(tBizExamResult);
    }

    /**
     * 修改体检结果
     * 
     * @param tBizExamResult 体检结果
     * @return 结果
     */
    @Override
    public int updateTBizExamResult(TBizExamResult tBizExamResult)
    {
        return tBizExamResultMapper.updateTBizExamResult(tBizExamResult);
    }

    /**
     * 批量删除体检结果
     * 
     * @param resultIds 需要删除的体检结果主键
     * @return 结果
     */
    @Override
    public int deleteTBizExamResultByResultIds(Long[] resultIds)
    {
        return tBizExamResultMapper.deleteTBizExamResultByResultIds(resultIds);
    }

    /**
     * 删除体检结果信息
     * 
     * @param resultId 体检结果主键
     * @return 结果
     */
    @Override
    public int deleteTBizExamResultByResultId(Long resultId)
    {
        return tBizExamResultMapper.deleteTBizExamResultByResultId(resultId);
    }
}
